home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobycastillotenebroso.swf / scripts / DefineSprite_1240 / frame_3 / PlaceObject2_738_597 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2007-10-01  |  632b  |  17 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.witness) && eval("_root.controler:witness_detection") == true)
  3.    {
  4.       set("_root.controler:witness_detection",false);
  5.       if(eval("_parent.vase:chandelier_fell") == false)
  6.       {
  7.          _parent.vase.gotoAndPlay("fright");
  8.          set("_root.controler:Scooby_next_state","runs");
  9.          set("_root.controler:Scooby_runs",false);
  10.          set("_root.controler:Scooby_walks",false);
  11.          set("_root.controler:Scooby_cautious",false);
  12.          set("_root.controler:Scooby_scared",true);
  13.          set("_root.controler:Scooby_stops",false);
  14.       }
  15.    }
  16. }
  17.